<h1>Listing networks</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Description</th>
    <th>Userid</th>
    <th>Is private</th>
    <th>Type</th>
    <th>Team</th>
  </tr>

<% for network in @networks %>
  <tr>
    <td><%=h network.name %></td>
    <td><%=h network.description %></td>
    <td><%=h network.user_id %></td>
    <td><%=h network.is_private %></td>
    <td><%=h network.type %></td>
    <td><%=h network.team_id %></td>
    <td><%= link_to 'Show', network %></td>
    <td><%= link_to 'Edit', edit_network_path(network) %></td>
    <td><%= link_to 'Destroy', network, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New network', new_network_path %>
